// 企业信息管理模块
import request from "@/plugins/request";

// 查询企业信息列表
export function GetCompanyPage(data) {
  return request({
    url: "/platform/company/getCompanyPage",
    method: "post",
    data,
  });
}

// 查询企业信息详情
export function GetCompanyDetail(data) {
  return request({
    url: "/platform/company/getCompanyDetail",
    method: "post",
    data,
  });
}

// 查询企业审核列表
export function GetCheckCompanyPage(data) {
  return request({
    url: "/platform/company/checkCompanyPage",
    method: "post",
    data,
  });
}

// 查询企业审核详情
export function GetCheckCompanyDetail(data) {
  return request({
    url: "/platform/company/checkCompanyDetail",
    method: "post",
    data,
  });
}

// 企业审核
export function GetCheckCompanyInfo(data) {
  return request({
    url: "/platform/company/checkCompanyInfo",
    method: "post",
    data,
  });
}

// 批量审核
export function CheckCompanylnfo(data) {
  return request({
    url: "/platform/company/checkCompanylnfo",
    method: "post",
    data,
  });
}


// 查看企业变更历史记录
export function GetCompanyChangeHistory(data) {
  return request({
    url: "/platform/company/getCompanyChangeHistory",
    method: "post",
    data,
  });
}

// 查看审核历史记录之前之后数据
export function GetCompanyChangeHistoryData(data) {
  return request({
    url: "/platform/company/getCompanyChangeHistoryData",
    method: "post",
    data,
  });
}

// 企业收益规则审核列表
export function GetCompanyRulePage(data) {
  return request({
    url: "/platform/company/getCompanyRulePage",
    method: "post",
    data,
  });
}

// 企业收益规则审核
export function CheckCompanyCheckRule(data) {
  return request({
    url: "/platform/company/checkCompanyCheckRule",
    method: "post",
    data,
  });
}

// 企业备案查询
export function CompanyBusinessInfoPage(data) {
  return request({
    url: "/platform/company/companyBusinessInfoPage",
    method: "post",
    data,
  });
}

// 企业备案子集查询
export function CompanyBusinessInfoChild(data) {
  return request({
    url: "/platform/company/companyBusinessInfoChild",
    method: "post",
    data,
  });
}

// 重复率查看
export function GetBusiInfoData(data) {
  return request({
    url: "/platform/sys/busiInfo/getData",
    method: "post",
    data,
  });
}

// 重复列表查询
export function GetRepeatData(data) {
  return request({
    url: "/platform/sys/busiInfo/getRepeatData",
    method: "post",
    data,
  });
}
